package org.cy.evolution.framework.domain.repository;

import org.cy.evolution.net.http.RetrofitManager;

public abstract class BaseRepository<S> implements IRepository<S> {
    protected S getService() {
        return new RetrofitManager.Builder()
                .baseUrl(getBaseUrl())
                .converterType(getResponseType())
                .build().create(getClazz());
    }
}
